package com.maila.xiaoaoschool.entity;

import java.util.List;

/**
 * 笑傲商城 商品
 * Created by mark on 2017/12/8.
 */

public class XAmallGoods {

    /**
     * result : 1
     * message : 展示成功
     * data : [{"goods_id":"1","goods_name":"商品1","goods_img":"/upload/user/20150915184518281.jpg","goods_url":"http://wwwww","addtime":"66666","type_id":"1","type_name":"男装"},{"goods_id":"5","goods_name":"商品2","goods_img":"/upload/user/20150915184505892.jpg","goods_url":"http://wwwww","addtime":"9","type_id":"2","type_name":"女装"},{"goods_id":"6","goods_name":"商品2","goods_img":"/upload/user/20150915184505892.jpg","goods_url":"http://wwwww","addtime":"6","type_id":"2","type_name":"女装"}]
     */

    private int result;
    private String message;
    private List<DataBean> data;

    public int getResult() {
        return result;
    }

    public void setResult(int result) {
        this.result = result;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * goods_id : 1
         * goods_name : 商品1
         * goods_img : /upload/user/20150915184518281.jpg
         * goods_url : http://wwwww
         * addtime : 66666
         * type_id : 1
         * type_name : 男装
         * goods_price: 11
         */

        private String goods_id;
        private String goods_name;
        private String goods_img;
        private String goods_url;
        private String addtime;
        private String type_id;
        private String type_name;
        private String goods_price;

        public String getGoods_price() {
            return goods_price;
        }

        public void setGoods_price(String goods_price) {
            this.goods_price = goods_price;
        }

        public String getGoods_id() {
            return goods_id;
        }

        public void setGoods_id(String goods_id) {
            this.goods_id = goods_id;
        }

        public String getGoods_name() {
            return goods_name;
        }

        public void setGoods_name(String goods_name) {
            this.goods_name = goods_name;
        }

        public String getGoods_img() {
            return goods_img;
        }

        public void setGoods_img(String goods_img) {
            this.goods_img = goods_img;
        }

        public String getGoods_url() {
            return goods_url;
        }

        public void setGoods_url(String goods_url) {
            this.goods_url = goods_url;
        }

        public String getAddtime() {
            return addtime;
        }

        public void setAddtime(String addtime) {
            this.addtime = addtime;
        }

        public String getType_id() {
            return type_id;
        }

        public void setType_id(String type_id) {
            this.type_id = type_id;
        }

        public String getType_name() {
            return type_name;
        }

        public void setType_name(String type_name) {
            this.type_name = type_name;
        }
    }
}
